﻿<Window
	x:Uid="Window" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
	x:Class="PWS.EditWindow"
	x:Name="Window"
	Title="Edit Item"
	Width="440" Height="369" Background="{x:Null}" AllowsTransparency="True" WindowStyle="None" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" WindowStartupLocation="CenterScreen">
<Window.Resources>

		<RadialGradientBrush x:Uid="RadialGradientBrush_1" x:Key="BrushBlackGradient" GradientOrigin="0.377,0.373">
			<RadialGradientBrush.RelativeTransform>
				<TransformGroup x:Uid="TransformGroup_1">
					<ScaleTransform x:Uid="ScaleTransform_1" CenterX="0.5" CenterY="0.5" ScaleX="1.241" ScaleY="0.79"/>
					<SkewTransform x:Uid="SkewTransform_1" AngleX="0" AngleY="0" CenterX="0.5" CenterY="0.5"/>
					<RotateTransform x:Uid="RotateTransform_1" Angle="0" CenterX="0.5" CenterY="0.5"/>
					<TranslateTransform x:Uid="TranslateTransform_1" X="-0.502" Y="-0.5"/>
				</TransformGroup>
			</RadialGradientBrush.RelativeTransform>
			<GradientStop x:Uid="GradientStop_1" Color="#FF000000" Offset="1"/>
			<GradientStop x:Uid="GradientStop_2" Color="#FF424242" Offset="0"/>
		</RadialGradientBrush>
		
		<Style x:Uid="Style_1" x:Key="ButtonFocusVisual">
			<Setter x:Uid="Setter_1" Property="Control.Template">
				<Setter.Value>
					<ControlTemplate x:Uid="ControlTemplate_1">
						<Rectangle x:Uid="Rectangle_1" SnapsToDevicePixels="true" Margin="2" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1"/>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		
		<LinearGradientBrush x:Uid="LinearGradientBrush_1" x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0">
			<GradientStop x:Uid="GradientStop_3" Color="#F3F3F3" Offset="0"/>
			<GradientStop x:Uid="GradientStop_4" Color="#EBEBEB" Offset="0.5"/>
			<GradientStop x:Uid="GradientStop_5" Color="#DDDDDD" Offset="0.5"/>
			<GradientStop x:Uid="GradientStop_6" Color="#CDCDCD" Offset="1"/>
		</LinearGradientBrush>
		
	<Style x:Uid="Style_2" x:Key="SaveButton" BasedOn="{x:Null}" TargetType="{x:Type Button}">
		<Setter x:Uid="Setter_2" Property="Template">
			<Setter.Value>
				<ControlTemplate x:Uid="ControlTemplate_2" TargetType="{x:Type Button}">
					<Grid x:Uid="Grid_1">
						<Rectangle x:Uid="rectangle" x:Name="rectangle" Fill="{DynamicResource RedButtonBackground}" Stroke="{DynamicResource RedButtunStroke}" RadiusX="3" RadiusY="3" Height="Auto"/>
						<Label x:Uid="Label_1" HorizontalAlignment="Center" VerticalAlignment="Stretch" Content="Save" Foreground="#FFFFFFFF" Margin="0,-2,0,2" d:LayoutOverrides="Height"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger x:Uid="Trigger_1" Property="IsFocused" Value="True"/>
						<Trigger x:Uid="Trigger_2" Property="IsDefaulted" Value="True"/>
						<Trigger x:Uid="Trigger_3" Property="IsMouseOver" Value="True">
							<Setter x:Uid="Setter_3" Property="Fill" TargetName="rectangle" Value="{DynamicResource RedButtonBackgroundMouseOver}"/>
						</Trigger>
						<Trigger x:Uid="Trigger_4" Property="IsPressed" Value="True">
							<Setter x:Uid="Setter_4" Property="Fill" TargetName="rectangle" Value="{DynamicResource RedButtonBackgroundPressed}"/>
						</Trigger>
						<Trigger x:Uid="Trigger_5" Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Uid="Style_3" x:Key="CancelButton" BasedOn="{x:Null}" TargetType="{x:Type Button}">
		<Setter x:Uid="Setter_5" Property="Template">
			<Setter.Value>
				<ControlTemplate x:Uid="ControlTemplate_3" TargetType="{x:Type Button}">
					<Grid x:Uid="Grid_2">
						<Rectangle x:Uid="Rectangle_2" Fill="{DynamicResource RedButtonBackground}" Stroke="{DynamicResource RedButtunStroke}" RadiusX="3" RadiusY="3" x:Name="rectangle"/>
						<Label x:Uid="Label_2" HorizontalAlignment="Center" VerticalAlignment="Stretch" Content="Cancel" Foreground="#FFFFFFFF" Margin="0,-2,0,2"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger x:Uid="Trigger_6" Property="IsFocused" Value="True"/>
						<Trigger x:Uid="Trigger_7" Property="IsDefaulted" Value="True"/>
						<Trigger x:Uid="Trigger_8" Property="IsMouseOver" Value="True">
							<Setter x:Uid="Setter_6" Property="Fill" TargetName="rectangle" Value="{DynamicResource RedButtonBackgroundMouseOver}"/>
						</Trigger>
						<Trigger x:Uid="Trigger_9" Property="IsPressed" Value="True">
							<Setter x:Uid="Setter_7" Property="Fill" TargetName="rectangle" Value="{DynamicResource RedButtonBackgroundPressed}"/>
						</Trigger>
						<Trigger x:Uid="Trigger_10" Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
		
	</Window.Resources>
	
	<Window.Effect>
		<DropShadowEffect x:Uid="DropShadowEffect_1" Color="#FF1B1B1B" ShadowDepth="5" BlurRadius="20" />
	</Window.Effect>

	<Grid x:Uid="LayoutRoot" x:Name="LayoutRoot" Width="Auto" Height="Auto" MouseDown="LayoutRoot_MouseDown">
		<Grid.Background>		
			<!-- Mesh Tiling Background -->
			<DrawingBrush x:Uid="DrawingBrush_1" Viewbox="0,0,29,29" ViewboxUnits="Absolute" Stretch="Fill" TileMode="Tile">
				<DrawingBrush.RelativeTransform>
					<TransformGroup x:Uid="TransformGroup_2">
						<ScaleTransform x:Uid="ScaleTransform_2" CenterX="0.5" CenterY="0.5" ScaleX="0.025" ScaleY="0.019"/>
						<SkewTransform x:Uid="SkewTransform_2" AngleX="0" AngleY="0" CenterX="0.5" CenterY="0.5"/>
						<RotateTransform x:Uid="RotateTransform_2" Angle="0" CenterX="0.5" CenterY="0.5"/>
						<TranslateTransform x:Uid="TranslateTransform_2" X="-0.481" Y="-0.483"/>
					</TransformGroup>
				</DrawingBrush.RelativeTransform>
				<DrawingBrush.Drawing>
					<DrawingGroup x:Uid="DrawingGroup_1">
						<GeometryDrawing x:Uid="GeometryDrawing_1" Brush="#FFFFFFFF">
							<GeometryDrawing.Geometry>
								<RectangleGeometry x:Uid="RectangleGeometry_1" Rect="0,0,29,29"/>
							</GeometryDrawing.Geometry>
						</GeometryDrawing>
						<DrawingGroup x:Uid="DrawingGroup_2">
							<DrawingGroup.Transform>
								<MatrixTransform x:Uid="MatrixTransform_1" Matrix="1,0,0,1,2,1.685"/>
							</DrawingGroup.Transform>
							<GeometryDrawing x:Uid="GeometryDrawing_2" Brush="#FF000000">
								<GeometryDrawing.Geometry>
									<EllipseGeometry x:Uid="EllipseGeometry_1" Center="5,5" RadiusX="4.5" RadiusY="4.5"/>
								</GeometryDrawing.Geometry>
								<GeometryDrawing.Pen>
									<Pen x:Uid="Pen_1" Brush="#FF000000" DashCap="Flat" EndLineCap="Flat" LineJoin="Miter" MiterLimit="10" StartLineCap="Flat" Thickness="1"/>
								</GeometryDrawing.Pen>
							</GeometryDrawing>
						</DrawingGroup>
						<DrawingGroup x:Uid="DrawingGroup_3">
							<DrawingGroup.Transform>
								<MatrixTransform x:Uid="MatrixTransform_2" Matrix="1,0,0,1,17.461,1.685"/>
							</DrawingGroup.Transform>
							<GeometryDrawing x:Uid="GeometryDrawing_3" Brush="#FF000000">
								<GeometryDrawing.Geometry>
									<EllipseGeometry x:Uid="EllipseGeometry_2" Center="5,5" RadiusX="5" RadiusY="5"/>
								</GeometryDrawing.Geometry>
							</GeometryDrawing>
						</DrawingGroup>
						<DrawingGroup x:Uid="DrawingGroup_4">
							<DrawingGroup.Transform>
								<MatrixTransform x:Uid="MatrixTransform_3" Matrix="1,0,0,1,10.181,17"/>
							</DrawingGroup.Transform>
							<GeometryDrawing x:Uid="GeometryDrawing_4" Brush="#FF000000">
								<GeometryDrawing.Geometry>
									<EllipseGeometry x:Uid="EllipseGeometry_3" Center="5,5" RadiusX="5" RadiusY="5"/>
								</GeometryDrawing.Geometry>
							</GeometryDrawing>
						</DrawingGroup>
						<DrawingGroup x:Uid="DrawingGroup_5">
							<DrawingGroup.Transform>
								<MatrixTransform x:Uid="MatrixTransform_4" Matrix="1,0,0,1,24.371,17"/>
							</DrawingGroup.Transform>
							<GeometryDrawing x:Uid="GeometryDrawing_5" Brush="#FF000000">
								<GeometryDrawing.Geometry>
									<EllipseGeometry x:Uid="EllipseGeometry_4" Center="5,5" RadiusX="5" RadiusY="5"/>
								</GeometryDrawing.Geometry>
							</GeometryDrawing>
						</DrawingGroup>
						<DrawingGroup x:Uid="DrawingGroup_6">
							<DrawingGroup.Transform>
								<MatrixTransform x:Uid="MatrixTransform_5" Matrix="1,0,0,1,-5.635,17"/>
							</DrawingGroup.Transform>
							<GeometryDrawing x:Uid="GeometryDrawing_6" Brush="#FF000000">
								<GeometryDrawing.Geometry>
									<EllipseGeometry x:Uid="EllipseGeometry_5" Center="5,5" RadiusX="5" RadiusY="5"/>
								</GeometryDrawing.Geometry>
							</GeometryDrawing>
						</DrawingGroup>
					</DrawingGroup>
				</DrawingBrush.Drawing>
			</DrawingBrush>
		</Grid.Background>

		<Grid.Clip>
			<PathGeometry x:Uid="PathGeometry_1">
				<PathFigure x:Uid="PathFigure_1" IsClosed="True" StartPoint="20.5,5.5">
					<BezierSegment x:Uid="BezierSegment_1" IsSmoothJoin="True" Point1="20.5,2.73857625084603" Point2="22.738576250846,0.5" Point3="25.5,0.5"/>
					<LineSegment x:Uid="LineSegment_1" IsSmoothJoin="True" Point="398.5,0.5"/>
					<BezierSegment x:Uid="BezierSegment_2" IsSmoothJoin="True" Point1="401.261423749154,0.5" Point2="403.5,2.73857625084603" Point3="403.5,5.5"/>
					<LineSegment x:Uid="LineSegment_2" IsSmoothJoin="True" Point="403.5,329.5"/>
					<BezierSegment x:Uid="BezierSegment_3" IsSmoothJoin="True" Point1="403.5,332.261423749154" Point2="401.261423749154,334.5" Point3="398.5,334.5"/>
					<LineSegment x:Uid="LineSegment_3" IsSmoothJoin="True" Point="25.5,334.5"/>
					<BezierSegment x:Uid="BezierSegment_4" IsSmoothJoin="True" Point1="22.738576250846,334.5" Point2="20.5,332.261423749154" Point3="20.5,329.5"/>
				</PathFigure>
			</PathGeometry>
		</Grid.Clip>
	
		<Grid x:Uid="Grid_3">
			<Grid.Background>
				<RadialGradientBrush x:Uid="RadialGradientBrush_2" GradientOrigin="0.377,0.373">
					<RadialGradientBrush.RelativeTransform>
						<TransformGroup x:Uid="TransformGroup_3">
							<ScaleTransform x:Uid="ScaleTransform_3" CenterX="0.5" CenterY="0.5" ScaleX="1.241" ScaleY="0.79"/>
							<SkewTransform x:Uid="SkewTransform_3" AngleX="0" AngleY="0" CenterX="0.5" CenterY="0.5"/>
							<RotateTransform x:Uid="RotateTransform_3" Angle="0" CenterX="0.5" CenterY="0.5"/>
							<TranslateTransform x:Uid="TranslateTransform_3" X="-0.502" Y="-0.5"/>
						</TransformGroup>
					</RadialGradientBrush.RelativeTransform>
					<GradientStop x:Uid="GradientStop_7" Color="#bf000000" Offset="1"/>
					<GradientStop x:Uid="GradientStop_8" Color="#af424242" Offset="0.004"/>
				</RadialGradientBrush>
			</Grid.Background>
			<Grid.RowDefinitions>
				<RowDefinition x:Uid="RowDefinition_1" Height="100"/>
				<RowDefinition x:Uid="RowDefinition_2" Height="*"/>
			</Grid.RowDefinitions>
			<Grid x:Uid="Header" Grid.Row="0" x:Name="Header"  Background="{x:Null}" Margin="0,0,0,0">
			
				<!-- LOGO -->
				<Button x:Uid="Button_1" HorizontalAlignment="Left" Margin="40,10,0,10" Style="{DynamicResource LogoButton}" Width="100" Content="Button" Height="80" IsTabStop="False" />
				
				<!-- CLOSE BUTTON -->
				<Button x:Uid="CloseButton" Background="{DynamicResource BrushBlackGradient}" HorizontalAlignment="Right" Margin="0,-4,23,0" x:Name="CloseButton" Style="{DynamicResource ButtonClose}" VerticalAlignment="Top" Width="42.194" Height="25" Content="Button" Click="CloseButton_Click" IsTabStop="False" />
				<!-- END CLOSE BUTTON -->
			</Grid>
			
			<Grid x:Uid="Content" Grid.Row="1" x:Name="Content" Margin="20,0,35,0">
                <Grid x:Uid="FormContentContainer" HorizontalAlignment="Stretch" Margin="20,0,20,0" VerticalAlignment="Stretch" Width="Auto" Height="Auto" x:Name="FormContentContainer">
                    <Rectangle x:Uid="ListBackground" HorizontalAlignment="Stretch" x:Name="ListBackground" Fill="#FFFFFFFF" Stroke="{x:Null}" RadiusX="5" RadiusY="5" Height="Auto" VerticalAlignment="Stretch" Margin="0,0,0,50"/>
                    <Rectangle x:Uid="ContentShadow" x:Name="ContentShadow" VerticalAlignment="Top" Height="10" Stroke="{x:Null}" RadiusX="0" RadiusY="0" Margin="0,-1,0,0">
                        <Rectangle.Fill>
                            <LinearGradientBrush x:Uid="LinearGradientBrush_2" EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop x:Uid="GradientStop_9" Color="#008E8F8F" Offset="0.987"/>
                                <GradientStop x:Uid="GradientStop_10" Color="#FF000000" Offset="0"/>
                            </LinearGradientBrush>
                        </Rectangle.Fill>
                    </Rectangle>
                	<Grid x:Uid="FormContent" VerticalAlignment="Stretch" Height="Auto" Background="{x:Null}" Margin="8,30,20,0" x:Name="FormContent">
                		<Grid.RowDefinitions>
                			<RowDefinition x:Uid="RowDefinition_3" Height="30"/>
                			<RowDefinition x:Uid="RowDefinition_4" Height="30"/>
                			<RowDefinition x:Uid="RowDefinition_5" Height="30"/>
                			<RowDefinition x:Uid="RowDefinition_6" Height="60"/>
                			<RowDefinition x:Uid="RowDefinition_7" Height="30"/>
                		</Grid.RowDefinitions>
                		<Grid.ColumnDefinitions>
                			<ColumnDefinition x:Uid="ColumnDefinition_1" Width="auto"/>
                			<ColumnDefinition x:Uid="ColumnDefinition_2" Width="*"/>
                		</Grid.ColumnDefinitions>
						<Grid x:Uid="Grid_4" Grid.Row="4" Grid.ColumnSpan="2" Margin="0,0,0,5">
                			<Button x:Uid="CancelButton" HorizontalAlignment="Right" x:Name="CancelButton" Style="{DynamicResource CancelButton}" Width="60" Content="Button" Click="CancelButton_Click" IsCancel="True" TabIndex="6" />
                			<Button x:Uid="SaveButton" HorizontalAlignment="Left" Style="{DynamicResource SaveButton}" Width="60" Content="Button" x:Name="SaveButton" ToolTip="Save" Click="SaveButton_Click" Margin="171,0,0,0" IsDefault="True" TabIndex="5" />
                		</Grid>
                		<Grid x:Uid="Grid_5" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,0,5">
                			<Label x:Uid="Label_3" Content="Title:"/>
                		</Grid>
                		<Grid x:Uid="Grid_6" Grid.Row="0" Grid.Column="1" Margin="8,0,0,5">
                			<TextBox x:Uid="TitleTextBox" Margin="0,0,0,0" TextWrapping="NoWrap" x:Name="TitleTextBox" TabIndex="1" />
                		</Grid>
                		<Grid x:Uid="Grid_7" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,0,5">
                			<Label x:Uid="Label_4" Content="Username: " />
                		</Grid>
                		<Grid x:Uid="Grid_8" Grid.Row="1" Grid.Column="1" Margin="8,0,0,5">
                			<TextBox x:Uid="UsernameTextBox" TextWrapping="NoWrap" x:Name="UsernameTextBox" TabIndex="2" />
                		</Grid>
                		<Grid x:Uid="Grid_9" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,0,5">
                			<Label x:Uid="Label_5" Content="Password:"/>
                		</Grid>
                		<Grid x:Uid="Grid_10" Grid.Row="2" Grid.Column="1" Margin="8,0,0,5">
                			<TextBox x:Uid="PasswordTextBox" TextWrapping="NoWrap" x:Name="PasswordTextBox" TabIndex="3" />
                		</Grid>
                		<Grid x:Uid="Grid_11" Grid.Row="3" Grid.Column="0" HorizontalAlignment="Right" Margin="0,0,0,10">
                			<Label x:Uid="Label_6" Content="Note:"/>
                		</Grid>
                		<Grid x:Uid="Grid_12" Grid.Row="3" Grid.Column="1" Margin="8,0,0,10">
                			<TextBox x:Uid="NotesTextBox" TextWrapping="Wrap" x:Name="NotesTextBox" TabIndex="4" />
                		</Grid>
                		
                	</Grid>
                    
                </Grid>
			</Grid>
			
		</Grid>
		
	</Grid>
	
</Window>